package test;

import helpClass.StringProcesser;

import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;

public class FixTZData {

	public static final Map<Integer, Map<Long, int[]>> fixData = new HashMap<Integer, Map<Long, int[]>>();
	
	static {
		put(1, 4087, new int[]{0,5});
		put(1, 6087, new int[]{1,2,3,4,5,6,7,8,9,10,0});
		put(1, 52087, new int[]{8,10});
		put(1, 61087, new int[]{0,1,2,3,4,6,7,8,9,10,5});
		put(204, 187302, new int[]{5});
		put(244, 211344, new int[]{7});
		put(215, 241317, new int[]{3});
		put(360, 645460, new int[]{0,3});
		put(95, 750200, new int[]{8});
		put(256, 841359, new int[]{3});
		put(190, 890290, new int[]{8,0});
		put(374, 892474, new int[]{4,0,8,10,5,1});
		put(328, 969428, new int[]{7,2,1,0});
		put(191, 1417291, new int[]{5});
		put(23, 1471124, new int[]{3});
		put(347, 1633447, new int[]{1});
		put(153, 1763257, new int[]{1,0});
		put(381, 1765481, new int[]{10});
		put(168, 1833262, new int[]{0,4,3});
		put(175, 2330279, new int[]{4});
		put(385, 2625485, new int[]{4,3,7,5});
		put(372, 3063472, new int[]{4,2,8,7,1});
		put(204, 3182304, new int[]{3});
		put(15, 3466111, new int[]{0,1,2,3,4,5,6,7,8,9,10});
		put(244, 3696344, new int[]{6,8});
		put(218, 4495318, new int[]{4});
		put(357, 4565457, new int[]{10,1});
		put(98, 4783192, new int[]{6});
		put(375, 5028475, new int[]{0,5,8,10,1});
		put(314, 5065414, new int[]{4,5,6,8,7});
		put(375, 5463475, new int[]{8,5,4,3});
		put(261, 5625363, new int[]{1});
		put(371, 5625471, new int[]{10,9,4});
		put(44, 5656144, new int[]{2,1,0});
		put(76, 5913176, new int[]{1});
		put(181, 6018284, new int[]{8,0});
		put(75, 6245175, new int[]{5});
		put(297, 6444394, new int[]{10});
		put(271, 6941375, new int[]{3});
		put(367, 7783467, new int[]{6,8,9});
		put(119, 7800217, new int[]{4,8,0});
		put(219, 7920316, new int[]{1,6});
		put(308, 8217408, new int[]{0,1,2,3,4,6,7,8,9,5,10});
		put(349, 8270449, new int[]{10});
		put(322, 8444422, new int[]{5});
		put(173, 8647274, new int[]{3});
		put(291, 9178392, new int[]{7});
		put(381, 9506481, new int[]{10});
		put(287, 9538390, new int[]{0,1,2,3,4,5,6,7,8,9,10});
		put(276, 9734376, new int[]{2});
		put(355, 10078455, new int[]{0,1,2,3,4,5,6,7,8,9,10});
		put(340, 10117440, new int[]{1,0});
		put(79, 10333180, new int[]{10,9});
		put(344, 10409444, new int[]{4});
		put(312, 10664412, new int[]{3});
		put(372, 11512472, new int[]{5,7});
		put(384, 11723484, new int[]{5});
		put(73, 11844171, new int[]{1});
		put(234, 12298338, new int[]{1,8});
		put(324, 12559424, new int[]{2});
		put(233, 13173332, new int[]{1});
		put(195, 14126292, new int[]{2,4,0});
		put(195, 14138294, new int[]{0,4});
		put(288, 14360388, new int[]{0,4});
		put(361, 14468461, new int[]{10,8});
		put(257, 14547358, new int[]{5});
		put(176, 15230277, new int[]{0,1});
		put(374, 15250474, new int[]{10,8});
		put(341, 15519441, new int[]{5});
		put(367, 16063467, new int[]{8,7,4});
		put(234, 16105338, new int[]{7,8});
		put(181, 16559281, new int[]{3});
		put(331, 16884431, new int[]{7});
		put(358, 17027458, new int[]{0,1,2,3,4,5,6,7,8,9,10});
		put(181, 18123284, new int[]{4});
		put(106, 19126208, new int[]{1});
		put(327, 19213427, new int[]{3,1,10,4});
		put(382, 19424482, new int[]{10,9,8,4});
		put(176, 19767277, new int[]{1});
		put(191, 20377291, new int[]{2,5,0});
		put(233, 21075333, new int[]{0,1,2,3,4,5,6,7,8,9,10});
		put(111, 21607211, new int[]{1});
		put(253, 21734353, new int[]{4});
		put(3, 21744092, new int[]{8,2,1});
		put(51, 22097151, new int[]{0,1,2,3,4,5,6,7,9,10,8});
		put(183, 22656282, new int[]{0,1,2,3,4,5,6,7,8,9,10});
		put(51, 23551156, new int[]{0,6,5});
		put(195, 24457294, new int[]{0,1,2,3,4,5,6,7,8,9,10});
		put(196, 24544296, new int[]{5});
		put(34, 25104133, new int[]{0,1,2,3,4,5,6,7,8,9,10});
		put(51, 26019151, new int[]{6,5,8,4,1,0});
		put(203, 26089303, new int[]{3});
		put(50, 27370147, new int[]{6,8,10,4});
		put(171, 27919271, new int[]{8,7,1,4});
		put(16, 28110112, new int[]{5,6});
		put(50, 29991147, new int[]{6,1});
		put(10, 32530100, new int[]{4});
		put(1, 33085087, new int[]{8,4});
		put(8, 34340099, new int[]{3});
		put(45, 35573145, new int[]{3});
		put(1, 67131087, new int[]{1});
		put(1, 97431087, new int[]{1,5,6,10,3,0,7,9,4,8,2});
		put(1, 111380087, new int[]{5,3});
		put(173, 20260274, new int[]{0,1,3,4,6,7,8,9});
		put(215, 26769315, new int[]{3});
		put(23, 1657124, new int[]{0});
		put(243, 7219347, new int[]{0});
		put(339, 12816439, new int[]{0});
		put(262, 14240369, new int[]{0});
		put(64, 16935164, new int[]{0});
		put(288, 21048388, new int[]{0});
		put(188, 21104289, new int[]{0});
		put(151, 36080252, new int[]{0});
		put(331, 363431, new int[]{0});
	}
	
	public static void put(int sid, long uid, int[] data) {
		Map<Long, int[]> one = fixData.get(sid);
		if (one == null) {
			one = new HashMap<Long, int[]>();
			fixData.put(sid, one);
		}
		if (one.containsKey(uid)) {
			System.err.println("exist...err");
			return;
		}
		one.put(uid, data);
	}
	
	public synchronized static void runFix() {
		Map<Long, int[]> one = fixData.get(0);
	}
	
	public static void main(String[] args) {
		int sid = 1;
		for (Entry<Long, int[]> e : fixData.get(sid).entrySet()) {
			System.out.println(e.getKey() + " " + StringProcesser.toString(e.getValue()));
		}
	}
}
